package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.PrivacyAgreement;
import com.yike.user.param.PrivacyAgreementPageParam;

import com.yike.user.vo.PrivacyAgreementVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * 隐私协议表 Mapper 接口
 *
 * @author Sakura
 * @since 2024-09-12
 */
@Mapper
public interface PrivacyAgreementMapper extends BaseMapper<PrivacyAgreement> {

    IPage<PrivacyAgreementVo> getPrivacyAgreementList(@Param("page") Page page,
                                                      @Param("param") PrivacyAgreementPageParam param);


}
